﻿@page "/admin/listusers"
@attribute [Authorize(Roles = "Admin")]

@inject IDataCacheService _dataCacheService




<CnGalWebSite.Shared.MasaComponent.Shared.Cards.TitleTip Title="用户版块"/>

<div>
    <MDCard Class="mb-4">
        <MTabs @bind-Value="TabIndex" IconsAndText Grow CenterActive>

            <MTab Value="1">
                用户<MIcon>mdi-account</MIcon>
            </MTab>
            <MTab Value="2">
                头衔<MIcon>mdi-medal-outline</MIcon>
            </MTab>
            <MTab Value="3">
                认证<MIcon>mdi-star</MIcon>
            </MTab>
            <MTab Value="4">
                操作记录<MIcon>mdi-text-search</MIcon>
            </MTab>

        </MTabs>
    </MDCard>

    <MTabsItems @bind-Value="TabIndex">
        <MTabItem Value="1">
           <CnGalWebSite.Shared.MasaComponent.PC.Admin.Users.ListCard/>
        </MTabItem>
        <MTabItem Value="2">
           <CnGalWebSite.Shared.MasaComponent.PC.Admin.Users.Ranks.ListCard/>
        </MTabItem>
        <MTabItem Value="3">
         <CnGalWebSite.Shared.MasaComponent.PC.Admin.Users.Certifications.ListCard/>
        </MTabItem>
        <MTabItem Value="4">
          <CnGalWebSite.Shared.MasaComponent.PC.Admin.Users.OperationRecords.ListCard/>
        </MTabItem>
    </MTabsItems>
</div>
@code {
    public StringNumber TabIndex { get; set; } = 1;
}
